//
//  WTConfigManager.m
//  WTLiveSDKDemo
//
//  Created by ben on 16/9/26.
//  Copyright © 2016年 ben. All rights reserved.
//

#import "WTConfigManager.h"

@implementation WTConfigManager

+ (instancetype)sharedManager{
    
    static WTConfigManager *configManager = nil;
    static dispatch_once_t onceToken;
    dispatch_once(&onceToken, ^{
        configManager = [WTConfigManager new];
    });
    return configManager;
}

- (instancetype)init
{
    self = [super init];
    if (self) {
        self.net_accid = @"";
        self.avatar = @"";
        self.nick = @"";
        self.net_token = @"";
        self.user_id = @"";
        self.cuteCode = @"";
    }
    return self;
}

- (BOOL)isLogin{
    
    if(self.net_token.length <= 0){
        return NO;
    }
    return YES;
}


@end
